package org.example.demo.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;


@Configuration
@ConfigurationProperties(prefix = "spring.rabbitmq.config")
public class QueueConfigProperties {
    private String exchange;
    private Map<String, String> queue;
    private Map<String, String> routingKey;

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public Map<String, String> getQueue() {
        return queue;
    }

    public void setQueue(Map<String, String> queue) {
        this.queue = queue;
    }

    public Map<String, String> getRoutingKey() {
        return routingKey;
    }

    public void setRoutingKey(Map<String, String> routingKey) {
        this.routingKey = routingKey;
    }
}
